package com.hjduan.spring.cloud.request.service;

import com.hjduan.spring.cloud.request.service.impl.FeignServiceImpl;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
@FeignClient(value = "MYBATIS-SERVICE", fallback = FeignServiceImpl.class)
public interface FeignService {
	 @RequestMapping(value = "/cities/view/{id}")
	 City getCityService(@RequestParam(value = "id")Integer id);
}
